package com.learn.ert.service.impl;

import com.learn.ert.mapper.ErIconLanMapper;
import com.learn.ert.pojo.ErIconLanEntity;
import com.learn.ert.service.ErIconLanService;
import com.learn.ert.utils.PageUtils;
import com.learn.ert.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


@Service("erIconLanService")
public class ErIconLanServiceImpl extends ServiceImpl<ErIconLanMapper, ErIconLanEntity> implements ErIconLanService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ErIconLanEntity> page = this.page(
                new Query<ErIconLanEntity>().getPage(params),
                new QueryWrapper<ErIconLanEntity>()
        );

        return new PageUtils(page);
    }

}